package org.jeecg.modules.demo.membermanagement.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 会员管理
 * @Author: jeecg-boot
 * @Date: 2022-01-14
 * @Version: V1.0
 */
@Data

@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "member_management对象", description = "会员管理")
public class MemberManagementVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 昵称
     */
    @Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
    private String nickName;
    /**
     * 电话
     */
    @Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private String phone;
    /**
     * 性别
     */
    @Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
    private String sex;
    /**
     * 编号
     */
    @Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
    private String num;
    /**
     * 会员类型
     */
    @Excel(name = "会员类型", width = 15)
    @ApiModelProperty(value = "会员类型")
    private String memberType;
    /**
     * 关联股东
     */
    @Excel(name = "关联股东", width = 15)
    @ApiModelProperty(value = "关联股东")
    private String shareholders;
    /**
     * 会员等级
     */
    @Excel(name = "会员等级", width = 15)
    @ApiModelProperty(value = "会员等级")
    private String memberLevel;
    /**
     * 消费次数
     */
    @Excel(name = "消费次数", width = 15)
    @ApiModelProperty(value = "消费次数")
    private Integer consumption;
    /**
     * 充值总额
     */
    @Excel(name = "充值总额", width = 15)
    @ApiModelProperty(value = "充值总额")
    private Double amount;
    /**
     * 账户余额
     */
    @Excel(name = "账户余额", width = 15)
    @ApiModelProperty(value = "账户余额")
    private Double balance;
    /**
     * 消费总额
     */
    @Excel(name = "消费总额", width = 15)
    @ApiModelProperty(value = "消费总额")
    private Double expendamount;
    /**
     * 创造股东分红
     */
    @Excel(name = "创造股东分红", width = 15)
    @ApiModelProperty(value = "创造股东分红")
    private Double shareholderDividends;
    /**
     * 注册时间
     */
    @Excel(name = "注册时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "注册时间")
    private Date registrationDate;
    /**
     * 是否关注公众号
     */
    @Excel(name = "是否绑定公众号", width = 15)
    @ApiModelProperty(value = "是否关注公众号")
    private String whetherConcern;
    /**
     * 出生日期
     */
    @ApiModelProperty(value = "出生日期")
    private String birthday;
    /**
     * 所属店铺
     */
    @ApiModelProperty(value = "所属店铺")
    private String belongStore;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 人脉数量
     */
    @ApiModelProperty(value = "人脉数量")
    private Integer relationQty;

    private String levelId;
    private String storeId;
    private String stockId;
    //会员身份  1=股东  2=会员
    private String status;


    private String gzhOpenId;
    private String xcxOpenId;
    private String unionId;
    private String myStockId;
    private Date stockMemberTime;
    private Double stockMemberExpendamount;
    private String headPortrait;
    private String userinfoStatus;
    private String isNew;
    private String tags;

}
